﻿using SX.Core.EventBus.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SX.BaseService.Service.Events
{
    /// <summary>
    /// 产品新增新增事件处理器
    /// </summary>
    public class ProductAddIntegrationEventHandler : IIntegrationEventHandler<ProductAddIntegrationEvent>
    {
        public async Task<bool> Handle(ProductAddIntegrationEvent @event)
        {
            var msg = @event;
            Console.WriteLine(msg);
            return true;
        }
    }
}
